/*
 * @Author: jiutian
 * @Date: 2023-01-31 18:48:35
 * @LastEditTime: 2023-03-10 18:42:37
 * @LastEditors:
 */
export default [
  {
    name: "saveBlog",
    method: "post",
    path: "/check/saveBlog",
    desc: "发布博客",
    data: {
      blogStr: "",
      blogTitle: "",
      blogText: "",
    },
  },
  {
    name: "uploadBlogImg",
    method: "post",
    path: "/check/uploadBlogImg",
    desc: "上传博客图片",
  },
  {
    name: "uploadBlogVideo",
    method: "post",
    path: "/check/uploadBlogVideo",
    desc: "上传博客音频",
  },
  {
    name: "getBlogList",
    method: "get",
    path: "/check/getBlogList",
    desc: "获取博客列表",
    params: {
      keyword: "",
      pageSize: "",
      pageNum: "",
    },
  },
  {
    name: "getBlogById",
    method: "get",
    path: "/check/getBlogById",
    desc: "获取博客详情",
    params: {
      id: "",
    },
  },
  {
    name: "getCurrentUser",
    method: "get",
    path: "/check/getCurrentUser",
    desc: "获取当前用户",
  },
  {
    name: "checkOperate",
    method: "get",
    path: "/check/checkOperate",
    desc: "检测收藏和点赞",
    params: {
      id: "",
    },
  },
  {
    name: "operateLike",
    method: "post",
    path: "/check/operateLike",
    desc: "点赞",
    data: {
      type: "",
      id: "",
    },
  },
  {
    name: "operateCollect",
    method: "post",
    path: "/check/operateCollect",
    desc: "收藏",
    data: {
      type: "",
      id: "",
    },
  },
  {
    name: "publishCommit",
    method: "post",
    path: "/check/publishCommit",
    desc: "发布评论",
    data: {
      context: "",
      id: "",
    },
  },
  {
    name: "getCommitList",
    method: "get",
    path: "/check/getCommitList",
    desc: "获取评论列表",
    params: {
      id: "",
      pageSize: "",
      pageNum: "",
    },
  },
  {
    name: "getBlogerList",
    method: "get",
    path: "/check/getBlogerList",
    desc: "获取博主列表",
    params: {
      keyword: "",
    },
  },
  {
    name: "getMessageList",
    method: "get",
    path: "/check/getMessageList",
    desc: "获取博主信息列表",
    params: {
      replyerId: "",
      senderId: "",
      pageSize: "",
      pageNum: "",
    },
  },
  {
    name: "operateFocus",
    method: "post",
    path: "/check/operateFocus",
    desc: "关注",
    data: {
      type: "",
      id: "",
    },
  },
  {
    name: "getUnReadCount",
    method: "get",
    path: "/check/getUnReadCount",
    desc: "轮询消息数",
    params: {
      senderId: "",
    },
  },
  {
    name: "getPersonInfo",
    method: "get",
    path: "/check/getPersonInfo",
    desc: "获取个人信息",
    params: {
      id: "",
    },
  },
  {
    name: "getBlogListByUserId",
    method: "get",
    path: "/check/getBlogListByUserId",
    desc: "获取个人博客",
    params: {
      id: "",
      pageSize: "",
      pageNum: "",
    },
  },
  {
    name: "deleteRowByid",
    method: "post",
    path: "/check/deleteRowByid",
    desc: "删除博客",
    data: {
      id: "",
    },
  },
  {
    name: "getLikeList",
    method: "get",
    path: "/check/getLikeList",
    desc: "获取点赞列表",
    params: {
      id: "",
      pageSize: "",
      pageNum: "",
    },
  },
  {
    name: "getCollectList",
    method: "get",
    path: "/check/getCollectList",
    desc: "获取收藏列表",
    params: {
      id: "",
      pageSize: "",
      pageNum: "",
    },
  },
  {
    name: "getFocusList",
    method: "get",
    path: "/check/getFocusList",
    desc: "获取关注列表",
    params: {
      id: "",
      pageSize: "",
      pageNum: "",
    },
  },
  {
    name: "getCommitListPerson",
    method: "get",
    path: "/check/getCommitListPerson",
    desc: "获取评论列表",
    params: {
      id: "",
      pageSize: "",
      pageNum: "",
    },
  },
  {
    name: "deleteCommitById",
    method: "post",
    path: "/check/deleteCommitById",
    desc: "删除评论",
    data: {
      id: "",
    },
  },
  {
    name: "globalSearch",
    method: "get",
    path: "/check/globalSearch",
    desc: "全局搜索",
    params: {
      keyword: "",
    },
  },
];
